#ifndef _UTIL_H_
#define	_UTIL_H_

#include "automata.h"

typedef enum {FALSE, TRUE} Bool;

/******************************************************************************/
/**                              Prototypes                                  **/
/******************************************************************************/


void error(int critical, char * msg);
void printMatrix(t_matrix * mat);
void printAlphabet(t_table * t);
void printTable(t_table * t);
void printStates(t_table * t);

// Removes return character(s) from the end of a line. 
// Works with Windows, Linux, and Macintosh text files.
// Returns the new length of the line
int RemoveReturnWLM(char *string);


#endif
